package com.alibaba.ecool.service;


import com.alibaba.ecool.bean.User;
import com.alibaba.ecool.dao.LoginUserDAO;
import com.alibaba.ecool.dao.UserDAO;

public interface UserLoginService {
	/**/
	public UserDAO getUserDAO() ;

	public void setUserDAO(UserDAO userDAO) ;
	

	public boolean isValid(String username, String password);

	public boolean isExist(String username);
	
	public void insertUser(User user);
}
